package com.inossem.warehousestorage_inossem.bean.inStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/21.
 */

public class InStorageRoleBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"roleList":[{"roleName":"角色名称","roleCode":"角色代码"},{"roleName":"角色名称","roleCode":"角色代码"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<RoleListBean> roleList;

        public List<RoleListBean> getRoleList() {
            return roleList;
        }

        public void setRoleList(List<RoleListBean> roleList) {
            this.roleList = roleList;
        }

        public static class RoleListBean {
            /**
             * roleName : 角色名称
             * roleCode : 角色代码
             */

            private String roleName;
            private String roleCode;

            public String getRoleName() {
                return roleName;
            }

            public void setRoleName(String roleName) {
                this.roleName = roleName;
            }

            public String getRoleCode() {
                return roleCode;
            }

            public void setRoleCode(String roleCode) {
                this.roleCode = roleCode;
            }
        }
    }
}
